package com.soar.tbox;

/**
 * 指令处理监听器管理者
 * 
 * @author songjunjie
 * 
 */
public class DisplayHandler {
	private static ActionListener actionListener = null;

	public static void setActionListener(ActionListener actionListener) {
		DisplayHandler.actionListener = actionListener;
	}

	public static void show(String msg) {
		if(actionListener != null){
			actionListener.actionPerformed(msg);
		}
	}
}
